package com.gzq.singleton.exam90;

public class MethodLocked90 {
	private static MethodLocked90 singleton = new MethodLocked90();

	private MethodLocked90() {

	}

	public static synchronized MethodLocked90 getSingleton() {
		if (singleton == null) {
			singleton = new MethodLocked90();
		}
		return singleton;
	}
}
